package main

import (
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
)

func main() {

	resp, err := http.PostForm("http://www.01happy.com/demo/accept.php?id=122", url.Values{"key": {"Value"}, "id": {"123"}})
	if err != nil {
		fmt.Println(err)
		return
	}
	defer resp.Body.Close()
	body, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		fmt.Printf("错了：%v\n", err)
		return
	}

	fmt.Println(string(body))
}
